package {
	import flash.display.Sprite;
	import flash.text.*;
	import com.greensock.*;

	[SWF(backgroundColor="#A0A0A0", frameRate="60", quality="MEDIUM", width="800", height="600")]
	public class Greeter extends Sprite
	{
		public function Greeter()
		{
			welcome("世界");
		}
		
		public function welcome(name:String):void
		{
			var showText:TextField = new TextField();
			showText.text = "你好" + name;
			showText.x = 100;
			showText.y = 100;
			addChild(showText);
			TweenLite.to(showText, 1, {x:65, y:75});
		}
		
	}
}
